﻿/*
* 作 者: 槐尧
* 创建时间: 2016/2/11 10:23:46
* 说明:  插件的事件接收类
*/

using UnityEngine;
using System.Collections;

public class PluginReceiver : MonoBehaviour {

    static PluginReceiver m_instance;

    public static PluginReceiver Instance
    {
        get { return PluginReceiver.m_instance; }
    }

    void Awake()
    {
        m_instance = this;
    }

    /// <summary>
    /// 图片从IOS Android裁剪完成
    /// </summary>
    /// <param name="imgPath"></param>
    public void LoadPhoto(string imgPath)
    {
        MessageManager.SendMessage(MessageName.PhotoLoaded, imgPath);
    }
}
